﻿
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Index</title>
</head>
<body>
    <div> 
        <form method="post">
            <p>账号：<input type="text" name="username" /></p>
            <p>密码：<input type="password" name="password" /></p>
            <button type="submit">登录</button>
        </form>
        @if (ViewBag.Username != null)
        {
            <p>@ViewBag.Username 登陆成功！！！</p>
        }
    </div>
</body>
</html>
